package com.lo.service;

import com.github.pagehelper.PageInfo;
import com.lo.common.JsonResult;
import com.lo.entity.TextualMaterial;

public interface TextualMaterialService {
    JsonResult addNewTextualMaterial(TextualMaterial textualMaterial);

    JsonResult deleteTextualMaterial(Long id);

    JsonResult getWordCloud(String url);

    JsonResult getTextSummary(String path);

    JsonResult updateTextIsDelete(Long id);

    JsonResult selectTextById(Long id);

    JsonResult updateText(TextualMaterial textualMaterial);

    JsonResult selectAllTexts();

    JsonResult selectOrdinaryTexts();

    JsonResult selectVipTexts();

    PageInfo selectAllTextsWithPage(int pageNum, int pageSize, String search);

    Object selectOrdinaryTextsWithPage(int pageNum, int pageSize, String search);

    Object selectVipTextsWithPage(int pageNum, int pageSize, String search);

    Object selectEngineeringTextWithPage(int pageNum, int pageSize, String search);

    Object selectScienceTextWithPage(int pageNum, int pageSize, String search);

    Object selectLiteratureTextWithPage(int pageNum, int pageSize, String search);

    Object selectLawTextWithPage(int pageNum, int pageSize, String search);

    JsonResult selectAllTextual(int pageNum, int pageSize, String search, String controllInfo);

    JsonResult deleteTextual(Long id);

    JsonResult updateTextExamine(Long id);

    JsonResult updateTextIsDelete2Zero(Long id);

    JsonResult selectAllTextsToWX(String search);
}
